package controller.action;

import model.service.ExamineeService;

import com.opensymphony.xwork2.ActionSupport;

public class Confirm extends ActionSupport{
	private String result;
	private ExamineeService examineeService;
	private String admitID;
	
	public String getResult() {
		return result;
	}
	public void setResult(String result) {
		this.result = result;
	}
	public ExamineeService getExamineeService() {
		return examineeService;
	}
	public void setExamineeService(ExamineeService examineeService) {
		this.examineeService = examineeService;
	}
	public String getAdmitID() {
		return admitID;
	}
	public void setAdmitID(String admitID) {
		this.admitID = admitID;
	}
	public String confirm(){
		result = examineeService.confirm(admitID);
		return SUCCESS;
	}
	
}
